package com.sc.nft.admin.request;

import com.sc.nft.enums.UserBalanceTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class OperateUserWalletRequest {
    @ApiModelProperty("验证码id")
    @NotNull(message = "验证码Id不能为空")
    private Long smsId;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为为空")
    private String codes;

    @ApiModelProperty("用户手机号")
    @NotNull(message = "用户手机号")
    private String userTel;
    @ApiModelProperty("操作类型")
    @NotNull(message = "操作类型不能为空")
    private Boolean isType;
    @ApiModelProperty("金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

    @ApiModelProperty("备注")
    @NotNull(message = "备注不能为空")
    private String remark;

    @ApiModelProperty("类型: BALANCE:提现余额   PAY_BALANCE:支付余额 ")
    @NotNull(message = "备注不能为空")
    private UserBalanceTypeEnum userBalanceType;
}
